<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>angular双向绑定</title>
		<script type="text/javascript" src="../js/angular.min.js">
			
		</script>
	</head>
	<!--ng-app是angular编程的接口，是模块作用域-->
	<body ng-app>
		<div >
			<!--ng-model模型作用 -->
			<input type="text" name="name" ng-model="name" />
		</div>
		<div >
			<!--{{}}等于 ng-bind用于数据显示-->
			hello {{name}}
		</div>
	</body>
</html>
